package com.dx.user.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * Created by lzh on 2017/10/23.
 */
@FeignClient("order-service")
public interface OrderServer {

    @RequestMapping(value = "getUserIdByOrderId")
    String getUserIdByOrderId(@RequestParam("orderId")Integer orderId);
}
